package epam.airline.domain;

public class Plane {
	private int planeId;
	private String planeName;
	private int boardRoom;
	private int numberCrewMembers; // number of crew members
	private int numberPassengers;
	private boolean status;

	public Plane(int planeId, String planeName, int boardRoom,
			int numberCrewMembers, int numberPassengers, boolean status) {
		this.planeId = planeId;
		this.planeName = planeName;
		this.boardRoom = boardRoom;
		this.numberCrewMembers = numberCrewMembers;
		this.numberPassengers = numberPassengers;
		this.status = status;
	}

	public Plane(String planeName, int boardRoom, boolean status) {
		this.planeName = planeName;
		this.boardRoom = boardRoom;
		this.status = status;
	}

	public int getPlaneId() {
		return planeId;
	}

	public void setPlaneId(int planeId) {
		this.planeId = planeId;
	}

	public String getPlaneName() {
		return planeName;
	}

	public void setPlaneName(String planeName) {
		this.planeName = planeName;
	}

	public int getBoardRoom() {
		return boardRoom;
	}

	public void setBoardRoom(int boardRoom) {
		this.boardRoom = boardRoom;
	}

	public int getNumberCrewMembers() {
		return numberCrewMembers;
	}

	public void setNumberCrewMembers(int numberCrewMembers) {
		this.numberCrewMembers = numberCrewMembers;
	}

	public int getNumberPassengers() {
		return numberPassengers;
	}

	public void setNumberPassengers(int numberPassengers) {
		this.numberPassengers = numberPassengers;
	}

	public boolean isStatus() {
		return status;
	}

	public void setStatus(boolean status) {
		this.status = status;
	}

}
